package com.sita.bike.rest.model;

import com.google.gson.annotations.SerializedName;

/**
 * Created by manhongyun on 15/11/12.
 */
public class Resource {

//   "resourceId": "137",
//   "trafficType": "SMOOTH",
//   "account": { },
//   "location": { }
//  {"resourceId":"140","trafficType":"SLOW",
//   "account":{"accountId":"1","acctType":"normal","name":"test","info":null,"avatar":"http://files.sitayun.com/avatar/default.png"},
//   "location":{"longitude":"117.393977","latitude":"39.160578","locType":"GCJ02","time":"1447313368367"}},
//  {"resourceId":"141","trafficType":"SLOW",
//   "account":{"accountId":"1","acctType":"normal","name":"test","info":null,"avatar":"http://files.sitayun.com/avatar/default.png"},
//   "location":{"longitude":"117.394056","latitude":"39.160677","locType":"GCJ02","time":"1447313368367"}},{"resourceId":"142","trafficType":"SLOW","account":{"accountId":"1","acctType":"normal","name":"test","info":null,"avatar":"http://files.sitayun.com/avatar/default.png"},"location":{"longitude":"117.393961","latitude":"39.160607","locType":"GCJ02","time":"1447313368367"}}]}

//    "id": "277182754402075683",
//            "account":{"id": "272712863875859962", "avatar": "http://q.qlogo.cn/qqapp/1105003410/0254B5C4AA7ED6ADB4C3B29FADC90AA6/100",…},
//            "title": "55",
//            "trafficType": "SMOOTH",
//            "pics":[{"link": "http://files.sitayun.com/roadtrust/pic/277182754368521254.jpg" }],
//            "audios":[{"link": "http://files.sitayun.com/roadtrust/audio/277182754385298461.mp3" }],
//            "location":{"longitude": "117.393763", "latitude": "39.160563", "locType": "GCJ02", "time": "1453113158951"…},
//            "distance": 35.83056337905284,
//            "playcount": 0,
//            "voteCount": 0,
//            "createDate": 1453113158951

    @SerializedName("resourceId")
    public String mResourceId;
    @SerializedName("trafficType")
    public String mTrafficType;
    @SerializedName("account")
    public Account mAccount;
    @SerializedName("location")
    public Location mLocation;
}
